/**
 * @생성일 : 2011. 9. 14.
 * @package : com.luffy.error.controller
 * 
 *
 */
package com.luffy.error.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * <pre>
 * 역할적기.
 * </pre>
 * @작성자 : Administrator
 * @작성일 : 2011. 9. 14.
 * @package : com.luffy.error.controller
 *
 */
@Controller
@RequestMapping("/**/")
public class PageErrorController {
	private Logger log = Logger.getLogger(this.getClass());

	@RequestMapping("{name}")
	public ModelAndView error(@PathVariable String name) {
		//log.error("존재하지 않는 요청입니다. [" + ContextInfo.getRequestUrl() + "]");
		ModelAndView mav = new ModelAndView("error_404");
		return mav;
	}
}
